<?php
/**
 * 请求地址: /api/china
 * 请求方式: post
 * 请求参数: code:CN#10008
 * 返回格式: json
 * 返回数据: 如下
 */

$json = [
    'rwBanners' => [
        'mark' => '人物首页banner列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'rwTexts' => [
        'mark' => '人物首页banner下的人物列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'rwDataList' => [
        'mark' => '人物首页的人物数据列表',
        'dataType' => 2,
        'dataList' => [
            ['id' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'rwRelateArticlesList' => [
        'mark' => '相关话题列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'rwTagsTopedList' => [
        'mark' => '热门标签列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'rwEditorTopedList' => [
        'mark' => '编辑推荐列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
];

echo json_encode($json);
